package com.panshi.pojo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import javax.validation.constraints.Pattern;
import javax.validation.constraints.Size;
import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 用户表 
 * </p>
 *
 * @author 小伍
 * @since 2020-08-01
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="BeiUser对象", description="用户表 ")
public class BeiUserVO implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "用户id")
    private Integer uid;

    @Pattern(regexp ="[1-9]\\d{7,10}@qq\\.com", message = "请输入正确的邮箱")
    @ApiModelProperty(value = "用户邮箱")
    private String email;

}
